﻿using _10_HPBar.GameFrame;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _10_HPBar
{
    internal class Portal : GameObject
    {
        public struct TargetData
        {
            public string map;
            public int x, y;
        }

        public TargetData Target { get; }
        
        public Portal(int x, int y, TargetData data) 
        {
            Pos = new Pos(x, y);
            Target = data;
        }
        public void Render()
        {
            Utility.MyPrint("门", Pos.x + 2, Pos.y + 2);
        }
    }
}
